package com.example.carapi.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // getters and setters
@AllArgsConstructor // 全参构造
@NoArgsConstructor // 无参构造
public class CarSeries {
    Long id;
    String name;
    Long brand_id;

    public CarSeries(String name, Long brand_id) {
        this.name = name;
        this.brand_id = brand_id;
    }
}
